package com.auto.api.core.entity;

import java.io.Serializable;
import lombok.Data;

/**
 * @program:
 * @description:项目信息
 * @author: liangshf
 * @create: 2022-01-07
 */
@Data
public class ApplicationInfo implements Serializable {

    private static final long serialVersionUID = -3918387113985752442L;

    private String applicationName;

    private Integer port;

    private static ApplicationInfo applicationInfo;

    static {
        applicationInfo = new ApplicationInfo();
    }

    private ApplicationInfo() {

    }

    public static ApplicationInfo getInstance(){
        return applicationInfo;
    }

}